﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TinyForum.Web.Proxies.ServiceReference;
using TinyForum.Web.Extensions.Mvc;

namespace TinyForum.Web.Controllers
{
    public class HomeController : ThemeController
    {
        public ActionResult Index()
        {
            using (TopicApplicationClient topicAppClient = new TopicApplicationClient())
            {
                var model = topicAppClient.GetTopicDetails();
                return View(model);
            }
        }

        public ActionResult About()
        {
            return View();
        }
    }
}
